package com.sky.mapper;

import com.sky.entity.User;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface UserMapper {

    User searchUserByOpenid(String openid);

    void insertUser(User newUser);

    User searchUserById(Long userId);
}
